#include <typeinfo>
#include <cstdio>
#include <iostream>

int main()
{
	using namespace std;
	int a;
	int b;
	int* c;
	const type_info& nInfo = typeid(a);
	cout << nInfo.name() << '\n'  << '\n' << nInfo.hash_code() << endl;
	if (typeid(a) == typeid(b)) printf("a==b\n");//????a????????Ϣ
	if (typeid(a) == typeid(int)) printf("a==int\n");
	if (typeid(c) == typeid(int))
	{
		printf("a==int\n");
	}
	else
	{
		printf("c!=int\n");
	}
	if (typeid(c) == typeid(int*)) printf("c==int\n");
}
